@import "../../assets/css/theme.scss";

.index {
  background-color: #fff;
  font-size: 14px;
  color: #333;

  .placard {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    padding: 5px 15px;
    background-color: #fffec8;
    color: #333333;

    ul {
      height: 15px;
      overflow: hidden;

      li {
        position: relative;
        height: 15px;
        line-height: 15px;

        @for $i from 1 to 4 {
          &:nth-child(#{$i}) {
            animation: rotation#{$i} 15s ease-in-out 0s infinite forwards;
            -webkit-animation: rotation#{$i} 15s ease-in-out 0s infinite forwards;
          }
        }
        &:last-child {
          animation: none!important;
        }

        &::before {
          content: '【公告】：';
        }
      }
    }
  }
}

@keyframes rotation1 {
  27.8% {
    margin-top: 0px;
  }
  33.3%, 100% {
    margin-top: -15px;
  }
}
@keyframes rotation2 {
  61.1% {
    margin-top: 0px;
  }
  66.7%, 100% {
    margin-top: -15px;
  }
}
@keyframes rotation3 {
  94.4% {
    margin-top: 0px;
  }
  100% {
    margin-top: -15px;
  }
}

.index .container-header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

.index .el-carousel {
  overflow: hidden;
}

.index .el-carousel__item>img {
  width: 100%;
  /* height: 100%; */
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.index .swiper {
  width: 62.75%;
  height: auto;
  display: inline-block;
}
.index .user-info {
  display: inline-block;
  width: calc(37.25% - 60px);
  margin-left: 20px;
  margin-right: 40px;
}
.index .user-info .info {
  height: 130px;
  padding: 30px 0 20px 0;
  border-bottom: 1px solid #b6b6b6;
}
.index .user-info .info .pic {
  position: relative;
  width: 90px;
  height: 100%;
  float: left;
  margin-right: 20px;
}
.index .user-info .info .pic img {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.index .user-info .info .field {
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
}
.index .user-info .info .field>p {
  display: flex;
  flex-flow: row nowrap;
}
.index .user-info .info .field>p>span {
  flex: 0 0 auto;
  overflow: hidden;
}
.index .user-info .info .field>p::before {
  margin-right: 10px;
  color: #999;
}
.index .user-info .info .field .name {
  width: 4em;
  display: inline-block;
  text-align: justify;
  text-align-last: justify;
  text-justify: distribute-all-lines;
}
.index .user-info .info .field .value {
  width: 10em;
}
.index .user-info .amount {
  padding: 20px 0 30px 0;
  height: 70px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
}
.index .user-info .amount .row {
  overflow: hidden;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: baseline;
}

.index .user-info .amount .left {
  float: left;
}
.index .user-info .amount .right {
  font-size: 20px;
  color: #ff9595;
  float: right;
}
.index .user-info .amount .right::after{
  font-size: 14px;
  content: '元';
  color: #000;
}

.index .container-middle {
  margin: 20px 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;

  .short-cut {
    width: 15%;
    height: 60px;
    color: #fff;
    font-size: 16px;
    text-align: right;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;

    &::before {
      font-size: 28px;
    }
  }
}

.index .container-middle .grid-content {
  justify-content: space-between;
}

.index .container-middle .grid-content:nth-child(1) {
  background-color: #ff8080;
}

.index .container-middle .grid-content:nth-child(2) {
  background-color: #4bd7e0;
}

.index .container-middle .grid-content:nth-child(3) {
  background-color: #f9b43d;
}

.index .container-middle .grid-content:nth-child(4) {
  background-color: #44aaf9;
}

.index .container-middle .grid-content:nth-child(5) {
  background-color: #38bc80;
}


.index .bills {
  position: relative;
  border: 1px solid #d8d8d8;
  .fast-audit {
    // border-radius: 0;
    position: absolute;
    // width: 120px;
    top: 10px;
    right: 10px;
    z-index: 10;
    // clip-path: polygon(80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%, 20% 0%);
  }
}
.index .bills .el-tabs--card>.el-tabs__header {
  margin: 15px 0 0 0;
  border-bottom: none;
}
.index .bills .el-tabs--card>.el-tabs__header .el-tabs__nav {
  margin-left: 15px;
}
.index .bills .el-tabs--card>.el-tabs__header .el-tabs__item {
  position: relative;
  z-index: 5;
  color: $theme;
  /*border: 1px solid #d8d8d8;
  border-radius: 0;
  border-bottom-color: #fff;*/
  /*transform: perspective(200px) rotateX(30deg);
  transform-origin: 50% 50%;*/
}
.index .bills .el-tabs--card>.el-tabs__header .el-tabs__item::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  background-color: #fff;
  z-index: -1;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  border-bottom-color: #fff;
  transform: perspective(200px) rotateX(30deg) scaleY(1.3);
  transform-origin: 50% 50%;
}
.index .bills .el-tabs--card>.el-tabs__header .el-tabs__item.is-active::before {
  z-index: -1;
  color: #fff;
  background-color: $theme;
  border: 1px solid $theme;
}
.index .bills .el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
  z-index: 10;
  color: #fff;
  border: 1px solid transparent;
   /* background-color: #25a9ff;
  border: 1px solid #25a9ff; */
}
.index .bills .el-tabs__content {
  background-color: #d8d8d8;
  z-index: 11;
}
.index .bills .el-tab-pane {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  min-height: 380px;
}
.index .bills .el-tab-pane .bill-transition {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  min-height: 380px;
}
.index .bills .bill {
  width: 263px;
  height: 71px;
  background: url('../../assets/images/bill.png') no-repeat;
  /* margin: 20px 30px 0 30px;  */
  margin-left: calc((100% - 1200px) / 5);
  margin-top: 20px;
  padding: 13px 18px 16px 19px;
  font-size: 12px;
  color: #999;
  cursor: pointer;
  position: relative;
}
@media screen and (max-width: 1600px) {
  .index .bills .bill {
    margin-left: calc((100% - 900px) / 4);
  }
}
@media screen and (max-width: 1200px) {
  .index .bills .bill {
    margin-left: calc((100% - 600px) / 3);
  }
}
.index .bills .bill.icon-billback-1::before {
  color: #c9f3f6;
}
.index .bills .bill.icon-billback-3::before {
  color: #fde8c4;
}
.index .bills .bill.icon-billback-4::before {
  color: #ffd9d9;
}
.index .bills .bill.icon-billback-5::before {
  color: #c3ebd9;
}
.index .bills .bill::before {
  display: block;
  position: absolute;
  font-size: 70px;
  left: 65px;
  z-index: 1;
}
.index .bill .row {
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
  z-index: 5;
}
.index .bill .row:first-child {
  font-size: 16px;
  color: #666;
}
.index .bill .row>span:first-child {
  float: left;
}
.index .bill .row>span:last-child {
  float: right;
}
.index .bill .row .no {
  color: $theme;
  font-weight: bold;
  text-decoration: underline;
}
.index .bill .row .type {
  overflow: hidden;
}
.index .bill .row .amount::after {
  content: '元';
}
.index .bill .row .remark::before {
  content: '备注：';
}
.index .bill .row .remark {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.index .handling .bill .row .remark {
  width: 80%;
}
.index .bill .row .audit {
  // padding: 0;
  float: right;
}
.index .bill .row .audit.agree {
  color: #58ca7e;
}
.index .bill .row .audit.reject {
  color: #ff4444;
}
.index .bill.more {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  color: $theme;
}

.index .bill.more .circle {
  width: 50px;
  height: 50px;
  border: 3px solid $theme;
  border-radius: 50%;
  font-size: 40px;
  text-align: center;
  line-height: 50px;
  font-weight: bold;
  margin-bottom: 6px;
}
.index .bill.more .circle>span {
  width: 50px;
}

.index .index-bill-move {
  transition: transform 1s;
}